basic single variable calculus full chapter gate